package leetcode.array;

import leetcode.array.common.ArrayUtils;

import java.util.Arrays;

class Solution977 {
    public int[] sortedSquares(int[] nums) {
        return ArrayUtils.sortedSquares(nums);
    }
}

public class leetcode977 {
    public static void main(String[] args) {
        Solution977 solution977 = new Solution977();
        int[] nums = {-4, -1, 0, 3, 10};
        System.out.println(Arrays.toString(solution977.sortedSquares(nums)));
    }
}
